import api from '@/api'
export default {
  namespace: 'add',

  state: {
  },

  effects: {
    *addressSelectAsync({ payload }, { call }) {
      return yield call(api.add.handleAddressSelect, payload);
    },
    *addressSearchAsync({ payload }, { call }) {
      return yield call(api.add.handleAddressSearch, payload);
    },
  },

  reducers: {
    // saveListDatas(state, { payload }) {
    //   return {
    //     ...state,
    //     listData: payload,
    //   };
    // },
    // saveStatus(state, { payload }) {
    //   return {
    //     ...state,
    //     status: payload,
    //   }
    // },
  }
};
